#!/bin/bash
#hadoop fs -rmr output
#hadoop jar ./hadoop-streaming-3.1.4.jar \
rm -fr ./output-task1final
#hadoop jar /mnt/d/hadoop-2.10.2/share/hadoop/tools/lib/hadoop-streaming-2.10.2.jar \
hadoop jar ./hadoop-streaming-3.1.4.jar \
-file ./mapper.py \
-mapper './mapper.py 20 20 20 20 20 20' \
-file ./reducer.py \
-reducer './reducer.py 20' \
-input ./20/M.txt \
-input ./20/N.txt \
-input ./20/X.txt \
-output ./output-task1final
#rm -rf output
#hadoop fs -get output
